package cn.chiship.framework.common.constants;

import cn.chiship.framework.common.util.FrameworkUtil2;
import cn.chiship.sdk.core.base.constants.BaseConstants;

/**
 * @author lijian
 * 常用常量
 */
public class CommonConstants extends BaseConstants {
    public static final String COMMON_PROJECT_NAME = FrameworkUtil2.getGlobalProperties().getName();

    public static final String COMMON_PROJECT_NAME_DESC = FrameworkUtil2.getGlobalProperties().getTitle();

    public static final String FEIGN_UPMS_HOST = "chiship-umps";

    public static final String FEIGN_UPMS_APPLICATION_NAME = "/chiship/upms/";

    /**
     * 根据创建时间倒叙
     */
    public static final String GMT_CREATED_DESC = "-gmtCreated";
    public static final String GMT_MODIFIED_DESC = "-gmtModified";


    public static final Byte USER_TYPE_ADMIN = 1;
    public static final Byte USER_TYPE_MEMBER = 2;

    public static final Long PROVINCE_PID = 100000L;


    public static final String SYSTEM_NAME_UPMS = "权限系统";

    public static final String SYSTEM_NAME_DOCS = "文档系统";

    public static final String SYSTEM_NAME_WECHAT = "公众号系统";


    /**
     * 数据导出格式
     */
    public static final String EXPORT_FORMAT_CSV = "csv";
    public static final String EXPORT_FORMAT_XLS = "xls";
    public static final String EXPORT_FORMAT_XLSX = "xlsx";
    public static final String EXPORT_FORMAT_TXT = "txt";
    public static final String EXPORT_FORMAT_JSON = "json";

}
